package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "company_product_introduction")
public class CompanyProductIntroduction {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司id
     */
    @TableField(value = "company",exist = false)
    private Company company;

    @TableField(value = "company_id")
    private Integer companyId;

    /**
     * logo
     */
    @TableField(value = "logo")
    private String logo;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 产品简介
     */
    @TableField(value = "synopsis")
    private String synopsis;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 添加时间
     */
    @TableField(value = "creat_time")
    private Date creatTime;

    /**
     * 下架时间
     */
    @TableField(value = "remove_time")
    private Date removeTime;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_LOGO = "logo";

    public static final String COL_TITLE = "title";

    public static final String COL_SYNOPSIS = "synopsis";

    public static final String COL_CONTENT = "content";

    public static final String COL_CREAT_TIME = "creat_time";

    public static final String COL_REMOVE_TIME = "remove_time";

    public static final String COL_SORT = "sort";

    public static final String COL_ENABLE = "enable";
}